<%@ tag language="java" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp"%>
<%@ attribute name="category" type="com.thinkgem.jeesite.modules.cms.entity.Category" required="true" description="栏目对象"%>
<li>
	<strong>当前位置：</strong>
	<a href="${ctx}/index-${site.id}${urlSuffix}">首页</a>
	</li>
	<!-- 父category的链接 -->
		<c:forEach items="${fnc:getCategoryListByIds(category.parentIds)}" var="tpl">
			<c:if test="${tpl.id ne 1}">
				<li>
					<span class="divider">/</span>
					<a href="${ctx}/list-${tpl.id}${urlSuffix}">${tpl.name}</a>
				</li>
			</c:if>
		</c:forEach>
	<!-- 当前category的链接 -->	
	<li>
		<span class="divider">/</span>
		<a href="${ctx}/list-${category.id}${urlSuffix}">${category.name}</a>
	</li>